package vip.liux.backend.infrastructure.constants;

import org.apache.commons.lang3.time.FastDateFormat;
import vip.liux.core.utils.Snowflake;

import static vip.liux.core.constant.GlobalConstant.NORM_DATETIME_PATTERN;
import static vip.liux.core.constant.GlobalConstant.NORM_DATE_PATTERN;

public interface GlobalConstant {

    Snowflake SNOWFLAKE = new Snowflake(1, 1);

    FastDateFormat DATE_FORMAT = FastDateFormat.getInstance(NORM_DATE_PATTERN);

    FastDateFormat DATE_TIME_FORMAT = FastDateFormat.getInstance(NORM_DATETIME_PATTERN);
}
